﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;


namespace map.member
{
    public partial class configshop_contactinfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                cbuser u = cbuser.getcuruser();
                string id = u.cbuserid.ToString();
                cbshopcss sc = cbshopcss.findorcreate(id);
                string css = sc.getstylestring();
                Literalcss.Text = css;


                cbshop u1 = cbshop.Find(" cbuserid = '" + id + "' ");
                u = cbuser.Find(" cbuserid = '" + id + "' ");
                Image_logo.ImageUrl = u1.cbpathlogo.ToString();
                Label1.Text = u.cbname.ToString();
                Literal_chat.Text = cbuser.getChatStr(u.RECID.ToString());
                Label_tel.Text = u.jctel.ToString();
                Label_mobile.Text = u.jcmobile.ToString();
                Label_address.Text = u.省编码.ToString() + u.县编码.ToString()
                    + u.区编码.ToString() + u.区域编码.ToString() + u.cbUserBizArea.ToString();
                Literal_website.Text = "f980.com";

                //Literal_content.Text = Server.HtmlDecode(u1.cbshopdesc.ToString());
            }
        }
    }
}
